DjVu Namespace > Encoder Class > AddPage Method : AddPage(Image,Int32,EncoderParams,Byte[],Int32,Int32,MaskType) Method |
The offset in the array where the left-top pixel of the mask image is.
It should be 0 if no mask is specified (maskArr is null).
Mask image stride, which is also known as bytes-per-line. It can be even negative value if it meets the following rule:
line_ptr[n+1] = line_ptr[n] + maskRowStride
It should be 0 if no mask is specified (mask is null).
Mask type; one of MaskType enumeration values.
It can be any value if no mask is specified (mask is null).
Public Overloads Sub AddPage( _ ByVal image As Image, _ ByVal dpi As Integer, _ ByVal params As EncoderParams, _ ByVal maskArr() As Byte, _ ByVal maskOffset As Integer, _ ByVal maskRowStride As Integer, _ ByVal maskType As MaskType _ )
Dim instance As Encoder Dim image As Image Dim dpi As Integer Dim params As EncoderParams Dim maskArr() As Byte Dim maskOffset As Integer Dim maskRowStride As Integer Dim maskType As MaskType instance.AddPage(image, dpi, params, maskArr, maskOffset, maskRowStride, maskType)
public void AddPage( Image image, int dpi, EncoderParams params, byte[] maskArr, int maskOffset, int maskRowStride, MaskType maskType )
public: void AddPage( Image^ image, int dpi, EncoderParams^ params, array<byte>^ maskArr, int maskOffset, int maskRowStride, MaskType maskType )
The offset in the array where the left-top pixel of the mask image is.
It should be 0 if no mask is specified (maskArr is null).
Mask image stride, which is also known as bytes-per-line. It can be even negative value if it meets the following rule:
line_ptr[n+1] = line_ptr[n] + maskRowStride
It should be 0 if no mask is specified (mask is null).
Mask type; one of MaskType enumeration values.
It can be any value if no mask is specified (mask is null).
Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family